<?php

use Illuminate\Database\Seeder;

class RolesTableSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {
        

        \DB::table('roles')->delete();
        
        \DB::table('roles')->insert(array (
            0 => 
            array (
                'id' => 1,
                'name' => 'superadmin',
                'title' => '超级管理员',
                'level' => NULL,
                'scope' => NULL,
                'created_at' => '2020-09-02 14:37:38',
                'updated_at' => '2020-09-02 14:39:41',
                '_lft' => 1,
                '_rgt' => 6,
                'parent_id' => NULL,
                'is_sys' => 1,
            ),
            1 => 
            array (
                'id' => 2,
                'name' => 'company_admin',
                'title' => '管理员',
                'level' => NULL,
                'scope' => NULL,
                'created_at' => '2020-09-02 14:37:38',
                'updated_at' => '2020-09-02 14:39:41',
                '_lft' => 2,
                '_rgt' => 5,
                'parent_id' => NULL,
                'is_sys' => 1,
            ),
            2 => 
            array (
                'id' => 3,
                'name' => 'member',
                'title' => '普通用户',
                'level' => NULL,
                'scope' => NULL,
                'created_at' => '2020-09-02 14:37:38',
                'updated_at' => '2020-09-02 14:39:41',
                '_lft' => 3,
                '_rgt' => 4,
                'parent_id' => NULL,
                'is_sys' => 1,
            ),
        ));
        
        
    }
}